 <#include "../common/layout.html"/>
 <@layout title1="博客" title2="标签管理">

<div class="row-fluid">
	 <div class="link-bar">                  
	   <a href="${basepath!}/admin/tag/edit"><i class="icon-plus"></i>添加标签</a>
	 </div>
<div class="well">
    <table class="table">
      <thead>
        <tr>
          <th>#</th>
          <th>标签名称</th>
          <th>博客篇数</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
      	<#list beans.list as x>
        <tr>
          <td>${x_index+1+(beans.startIndex)!0}</td>
          <td>${(x.tag_name)!}</td>
          <td>${(x.blogCount)!0}</td>
          <td>
              <a title="编辑" href="${basepath!}/admin/tag/edit/${(x.id)!}"><i class="icon-pencil"></i></a>
              &nbsp;
              <a title="删除" delete="delete" href="#comfirm_dialog" url="${basepath!}/admin/tag/delete/${(x.id)!}" msg="确定删除标签？" role="button" data-toggle="modal"><i class="icon-remove"></i></a>
          </td>
        </tr>
        </#list>
      </tbody>
    </table>
</div>

<#include "${basepath!}/WEB-INF/pages/admin/common/pagination.html" />
<@paginate page=beans url="/admin/tag/list" />
         
            </div>
</@layout>